package com.cms.sync.model;

import java.io.Serializable;
import java.util.Date;

import com.util.Util;

public class XiaomiSyncLog implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4129255780815449783L;
	
	private int id;
	/**游戏ID*/
	private String appid; 
	/**游戏平台订单ID*/
	private String orderid; 
	/**用户ID*/
	private String uid; 
	/**开发商订单ID*/
	private String cporderid; 
	/**订单状态，TRADE_SUCCESS 代表成功*/
	private String orderstatus;
	/**支付金额,单位为分,即0.01 米币。*/
	private float payfee;
	/**商品代码*/
	private String productcode;
	/**商品名称*/
	private String productname;
	/**商品数量*/
	private int productcount;
	/**订单类型：10：普通订单;11：直充直消订单*/
	private String orderconsumetype;
	/**开发商透传信息*/
	private String cpuserinfo; 
	/**签名*/
	private String signature;
	/**支付时间,格式 yyyy-MM-dd HH:mm:ss*/
	private String paytime;
	/**接受时间,格式 yyyy-MM-dd HH:mm:ss*/
	private String createtime;
	
	public XiaomiSyncLog(){
		this.createtime=Util.dateToString(new Date(), "yyyy-MM-dd HH:mm:ss");
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getOrderid() {
		return orderid;
	}
	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getCporderid() {
		return cporderid;
	}
	public void setCporderid(String cporderid) {
		this.cporderid = cporderid;
	}
	public String getOrderstatus() {
		return orderstatus;
	}
	public void setOrderstatus(String orderstatus) {
		this.orderstatus = orderstatus;
	}
	public float getPayfee() {
		return payfee;
	}
	public void setPayfee(float payfee) {
		this.payfee = payfee;
	}
	public String getProductcode() {
		return productcode;
	}
	public void setProductcode(String productcode) {
		this.productcode = productcode;
	}
	public String getProductname() {
		return productname;
	}
	public void setProductname(String productname) {
		this.productname = productname;
	}
	public int getProductcount() {
		return productcount;
	}
	public void setProductcount(int productcount) {
		this.productcount = productcount;
	}
	public String getOrderconsumetype() {
		return orderconsumetype;
	}
	public void setOrderconsumetype(String orderconsumetype) {
		this.orderconsumetype = orderconsumetype;
	}
	public String getCpuserinfo() {
		return cpuserinfo;
	}
	public void setCpuserinfo(String cpuserinfo) {
		this.cpuserinfo = cpuserinfo;
	}
	public String getSignature() {
		return signature;
	}
	public void setSignature(String signature) {
		this.signature = signature;
	}
	public String getPaytime() {
		return paytime;
	}
	public void setPaytime(String paytime) {
		this.paytime = paytime;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	

}
